package com.ruicar.afs.cloud.channel.common.mq.sender;

import com.ruicar.afs.cloud.common.mq.rabbit.anno.send.AfsRabbitMqClient;
import com.ruicar.afs.cloud.common.mq.rabbit.anno.send.AfsRabbitMqSender;

/**
 * <p>Description: 发送数据到归档系统</p>
 *
 * @author yaorui.zhang
 * @version 1.0
 * @date create on 2020-07-01 18:42
 */
@AfsRabbitMqClient
public interface SenderChannelToArchive {

    /**经销商信息10
     * @author yaorui.zhang
     * @param entity
     */
    @AfsRabbitMqSender(serverAlias = "${com.ruicar.afs.cloud.rabbitQueue.serverAliaEams}"
            ,exchangeName = "${com.ruicar.afs.cloud.rabbitQueue.exchangeNameEams.wwsigndealer}"
            ,queueName = "${com.ruicar.afs.cloud.rabbitQueue.queueNameEams.wwsigndealer}"
            ,enableOn = "${com.ruicar.afs.cloud.rabbitQueue.exchangeNameEams.wwsigndealer}"
            ,afsMessage=false)
    void sendWwsigndealer(String entity);

    /**用户信息11
     * @author yaorui.zhang
     * @param entity
     */
    @AfsRabbitMqSender(serverAlias = "${com.ruicar.afs.cloud.rabbitQueue.serverAliaEams}"
            ,queueName = "${com.ruicar.afs.cloud.rabbitQueue.queueNameEams.wworguser}"
            ,exchangeName = "${com.ruicar.afs.cloud.rabbitQueue.exchangeNameEams.wworguser}"
            ,enableOn = "${com.ruicar.afs.cloud.rabbitQueue.exchangeNameEams.wworguser}"
            ,afsMessage=false)
    void sendWworguser(String entity);

}
